//
//  MenuViewController.m
//  Hairdressing
//
//  Created by jiangtao on 13-10-12.
//  Copyright (c) 2013年 jiangtao. All rights reserved.
//

#import "MenuViewController.h"
#import "CoverFlowViewController.h"

@interface MenuViewController ()

@end

@implementation MenuViewController

- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
    self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
    if (self) {
        // Custom initialization
    }
    return self;
}

- (void)viewDidLoad
{
    [super viewDidLoad];
    
    //加载coverflow页面
    coverFlowView = [[CoverFlowViewController alloc]init];
    [coverFlowView.view setFrame:CGRectMake(0, 100, 768, 770)];
    
    NSMutableArray *pxlbArr = [[NSMutableArray alloc]initWithObjects:@"首页",@"设计师",@"发型展示",@"头发护理",@"服务项目",@"优惠推介",@"门店简介",nil];
    bottomView = [[TopScrollView alloc]initWithFrame:CGRectMake(34, 915, 700, 44) data:pxlbArr type:1];
    [self.view addSubview:coverFlowView.view];
    [self.view addSubview:bottomView];
    // Do any additional setup after loading the view from its nib.
}

- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
